package com.gzz.orchid.context.domain.customer;

import com.gzz.orchid.context.domain.customer.entity.MemberDo;
import com.gzz.orchid.context.infrastructure.definition.Status;

import java.io.Serializable;
import java.util.List;

/**
 * @author higmd
 */
public interface IMemberRepository {
    MemberDo findByCode(String code);

    List<MemberDo> findListByIds(Serializable[] ids);

    int batchDelete(Serializable[] ids);

    int batchChangeStatus(Status status, List<MemberDo> doList);

    void save(MemberDo memberDo);
}
